import 'package:edu_assistant/generated/json/base/json_field.dart';
import 'package:edu_assistant/generated/json/file_item_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class FileItemEntity {
	int? id;
	String? url;
	String? thumbImage;
	String? originFileName;
	String? fileType;
	int? fileSize;
	int? createTime;
	String ? timeStr;

	FileItemEntity();

	factory FileItemEntity.fromJson(Map<String, dynamic> json) => $FileItemEntityFromJson(json);

	Map<String, dynamic> toJson() => $FileItemEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}